export interface Config<T> {
  url: string;
  method: 'get' | 'post' | 'put' | 'delete';
  params?: T;
}

export type Method = 'get' | 'post' | 'delete' | 'put';
